package com.quartet.modules.vehicle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.quartet.modules.vehicle.dto.TOilConsumptionEquipmentAddRequestDto;
import com.quartet.modules.vehicle.entity.TOilConsumptionEquipment;

/**
 * 油耗设置信息表(TOilConsumptionEquipment)表服务接口
 *
 * @author makejava
 * @since 2021-05-04 16:39:35
 */
public interface TOilConsumptionEquipmentService extends IService<TOilConsumptionEquipment> {

    /**
     * 添加油耗设置信息
     * @param tOilConsumptionEquipmentAddRequestDto
     */
    void addOilConsumptionEquipment(TOilConsumptionEquipmentAddRequestDto tOilConsumptionEquipmentAddRequestDto);

    /**
     * 功能描述: 修改油耗设置信息
     * @author huipanxing huipanxing@chinasofti.com
     * @date 2021/5/13 16:17
     * @param tOilConsumptionEquipmentAddRequestDto
     * @return void
     */
    void updateOilConsumptionEquipment(TOilConsumptionEquipmentAddRequestDto tOilConsumptionEquipmentAddRequestDto);

    /**
     * 根据车辆编码删除油耗设置信息
     * @param vehicleCode
     */
    void deleteOilConsumptionEquipment(String vehicleCode);

    /**
     * 根据车辆编码查询油耗设置信息
     * @param vehicleCode
     * @return
     */
    TOilConsumptionEquipmentAddRequestDto selectOilConsumptionEquipment(String vehicleCode);
}
